package com.mouse.demo;

import com.mouse.damo.micro.Com;
import com.mouse.damo.micro.FindStr;
import com.mouse.damo.util.StringUtil;

public class TestPoint {
    public static void main(String[] args) {
        Com com = new Com();
        com.setResourcePath("D:\\damo");
        com.setDict(0, "坐标.txt");
        com.bind(4262174);
        FindStr findStr = new FindStr(com);
        String str = findStr.readStr(876, 2, 992,22, "3db2ff-000000", "", 0.9, 0);
        str = StringUtil.isNotBlank(str) ? str : findStr.readStr(876, 2, 992,22, "ffffff-000000", "", 0.9, 0);
        str = StringUtil.isNotBlank(str) ? str : findStr.readStr(876, 2, 992,22, "71d117-000000", "", 0.9, 0);
        System.out.println(str);
    }
}
